﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SiteApresentacao.Master" AutoEventWireup="true" CodeBehind="consultaApresentacao.aspx.cs" Inherits="Finalcountdown.Site.Consulta.consultaApresentacao" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:UpdatePanel ID="updPanel" runat="server">
        <ContentTemplate>
            <div class="portlet ui-widget ui-widget-content ui-helper-clearfix ui-corner-all form-container">
				<div class="portlet-header ui-widget-header">Resultado da Pesquisa</div>
				<div class="portlet-content">
                    <div>
                        <asp:GridView ID="grdResEvento" runat="server" AutoGenerateColumns="False" 
                                onrowcommand="grdResEvento_RowCommand" 
                                BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="4" 
                                Width="100%"  ForeColor="Black" GridLines="Vertical" 
                                onrowdatabound="grdResEvento_RowDataBound" >
                                <Columns>
                                    <asp:TemplateField>
                                        <ItemStyle Width="100px" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1"/>
                                        <ItemTemplate>
                                            <asp:linkbutton ID="LkbAcompanhar" CssClass="btn_no_text btn ui-state-default ui-corner-all tooltip"  text="" runat="server" CommandName="acompanhar" CommandArgument='<%# Eval("id_evento")%>'><span class="ui-icon ui-icon-clock" title="Acompanhar Evento"></span></asp:linkbutton>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:BoundField DataField="nm_evento" HeaderText="Nome" >
                                        <ItemStyle CssClass="bdGrid" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="dt_evento" HeaderText="Data do Evento" >
                                        <ItemStyle CssClass="bdGrid" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1" />
                                    </asp:BoundField>
                                        <asp:BoundField DataField="nr_status" HeaderText="Tipo Usuário" >
                                        <ItemStyle CssClass="bdGrid" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1" />
                                    </asp:BoundField>
                                </Columns>
                                <HeaderStyle CssClass="headerGrid" />
                                <RowStyle  CssClass="trGrid" />
                                <PagerStyle CssClass="trPager" />
                            </asp:GridView>
                        </div>
                    </div>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
</asp:Content>
